#ifndef UAE_STATUSLINE_H
#define UAE_STATUSLINE_H

#ifdef __LIBRETRO__
#define TD_PADX 1
#define TD_PADY 2
//#define TD_WIDTH 20
//#define TD_LED_WIDTH 20
#define TD_LED_HEIGHT 4

#define TD_RIGHT 1
#define TD_BOTTOM 2
#define TD_BORDER 0

#else

#define TD_PADX 4
#define TD_PADY 2
#define TD_WIDTH 30
#define TD_LED_WIDTH 24
#define TD_LED_HEIGHT 4

#define TD_RIGHT 1
#define TD_BOTTOM 2
#define TD_BORDER 0x333333
#endif // __LIBRETRO__

static int td_pos = (TD_RIGHT | TD_BOTTOM);

#define TD_NUM_WIDTH 7
#define TD_NUM_HEIGHT 7

#define TD_TOTAL_HEIGHT (TD_PADY * 2 + TD_NUM_HEIGHT)

#define NUMBERS_NUM 19

#define STATUSLINE_CHIPSET 1
#define STATUSLINE_RTG 2
#define STATUSLINE_TARGET 0x80

extern void draw_status_line_single(uae_u8 *buf, int bpp, int y, int totalwidth, uae_u32 *rc, uae_u32 *gc, uae_u32 *bc, uae_u32 *alpha);
extern void statusline_getpos(int *x, int *y, int width, int height);

#endif /* UAE_STATUSLINE_H */